package com.zjcloud.jwgl.domain;

import com.zjcloud.common.annotation.Excel;
import com.zjcloud.common.core.domain.BaseEntity;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;

/**
 * 排课冲突记录对象 ac_schedule_conflict
 * 
 * @author wxl
 * @date 2024-09-13
 */
public class AcScheduleConflict extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 主键ID */
    private Long id;

    /** 冲突类型(1教师时间冲突 2教室时间冲突 3班级时间冲突 4教室容量超限 5其他) */
    @Excel(name = "冲突类型")
    private Integer conflictType;

    /** 课程安排ID */
    @Excel(name = "课程安排ID")
    private Long scheduleId;

    /** 冲突课程安排ID */
    @Excel(name = "冲突课程安排ID")
    private Long conflictScheduleId;

    /** 冲突描述 */
    @Excel(name = "冲突描述")
    private String description;

    /** 处理状态(0未处理 1已处理) */
    @Excel(name = "处理状态")
    private String status;

    /** 学期 */
    @Excel(name = "学期")
    private String semester;

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }

    public void setConflictType(Integer conflictType) 
    {
        this.conflictType = conflictType;
    }

    public Integer getConflictType() 
    {
        return conflictType;
    }

    public void setScheduleId(Long scheduleId) 
    {
        this.scheduleId = scheduleId;
    }

    public Long getScheduleId() 
    {
        return scheduleId;
    }

    public void setConflictScheduleId(Long conflictScheduleId) 
    {
        this.conflictScheduleId = conflictScheduleId;
    }

    public Long getConflictScheduleId() 
    {
        return conflictScheduleId;
    }

    public void setDescription(String description)
    {
        this.description = description;
    }

    public String getDescription()
    {
        return description;
    }

    public void setStatus(String status) 
    {
        this.status = status;
    }

    public String getStatus() 
    {
        return status;
    }

    public void setSemester(String semester) 
    {
        this.semester = semester;
    }

    public String getSemester() 
    {
        return semester;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("conflictType", getConflictType())
            .append("scheduleId", getScheduleId())
            .append("conflictScheduleId", getConflictScheduleId())
            .append("description", getDescription())
            .append("status", getStatus())
            .append("semester", getSemester())
            .append("createBy", getCreateBy())
            .append("createTime", getCreateTime())
            .append("updateBy", getUpdateBy())
            .append("updateTime", getUpdateTime())
            .append("remark", getRemark())
            .toString();
    }
}